<template>
  <el-input-number
    v-bind="$attrs"
    v-on="$listeners"
    :min="min"
    :max="max"
    :size="size"
    controls-position="right"></el-input-number>
</template>

<script>
  export default {
    name: "my-input-number",
    props:{
      min:{
        type: Number,
        default: 0
      },
      max:{
        type: Number,
        default: 100
      },
      /** 默认大小mini **/
      size:{
        type: String,
        default: 'mini'
      },
    }
  }
</script>

<style scoped>

</style>
